package cn.aiayun.springactivity.utils;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.Expression;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.context.annotation.Scope;

/**
 * 通用状态控制
 *
 * @author hz19044055
 * @date 2021年01月10日16:44:47
 */
@Scope("prototype")
@Slf4j
public class GeneralStatusHandler implements JavaDelegate {

	private Expression statusExpression;

	@Override
	public void execute(DelegateExecution execution) {
		log.info("generalStatusHandler handle start");
		//获取业务状态
	}
}
